package data.model;

import java.util.Date;

public class Truck {

    public static final int NO_ID = -1;

    private int id;
    private int weight;
    private int mp;
    private int length;
    private int height;
    private int width;
    

    //constructor
    public Truck(){}
    
    public Truck(Truck truck){
	//code
    }

    public Truck(int n){
	this.id = n;
    }

    public Truck(int s, int p, int m, int L, int h, int l){
	//this.id     = s;
	this.weight  = p;
	this.mp     = m;
	this.length = L;
	this.height = h;
    }

    
    //getters
    public int getId(){
	return id;
    }
    
    public int getWeight(){
	return weight;
    }
    
    public int getMp(){
	return mp;
    }
    
    public int getLenght(){
	return length;
    }
    
    public int getHeight(){
	return height;    
    }


    public int getWidth(){
	return width;    
    }



    //accesseurs
    public void setId(int s){
	this.id     = s;
    }
    
    public void setWeight(int p){
	this.weight = p;
    }
    
    public void setMp(int m){
	this.mp     = m;
    }
    
    public void setLength(int L){
	this.length = L;
    }
    
    public void setHeight(int h){
	this.height = h;
    }


    public void setWidth(int h){
	this.width = h;
    }
    

    //methodes
}
